#define _CRT_SECURE_NO_WARNINGS3
#include"SList.h"

void SListtest()
{
	SLNode* plist = NULL;
	SLTPushBack(&plist, 4);
	SLTPushBack(&plist, 3);
	SLTPushBack(&plist, 2);
	SLTPushBack(&plist, 1);
	SLTPrint(plist);

	SLTPushFront(&plist, 5);
	SLTPrint(plist);

	SLTPopBack(&plist);
	SLTPrint(plist);

	SLTPopFornt(&plist);
	SLTPrint(plist);

	SLTFind(plist, 3);
	SLNode* find = SLTFind(plist, 3);
	SLTInsert(&plist, find, 6);
	SLTPrint(plist);
}


int main()
{
	SListtest();

	return 0;
}